docs(manifest): Update crate-types with `cdylib`
authorJake Shadle <jake.shadle@frostbite.com>
Fri, 19 Aug 2016 16:21:43 +0000 (18:21 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Aug 2016 16:21:43 +0000 (18:21 +0200)
Rust 1.11 now supports the `cdylib` crate-type, so added it to the
list of options. Also added a link to the
[Linkage](https://doc.rust-lang.org/reference.html#linkage) section
in the Rust Reference manual which explains what the different
crate types actually mean in practice....though right now it actually
doesn't explain what a `cdylib` is, specifically. ;)

src/doc/manifest.md

index 805b7c384f0f1e3f3e4fb797f0d37d2126426158..f38f4826bd555a01fdc4d92af01396a1f1439ce8 100644 (file)
@@ -527,9 +527,13 @@ name = "..."
 crate-type = ["dylib"] # could be `staticlib` as well
 ```
 
-The available options are `dylib`, `rlib`, and `staticlib`. You should only use
-this option in a project. Cargo will always compile packages (dependencies)
-based on the requirements of the project that includes them.
+The available options are `dylib`, `rlib`, `staticlib`, and, as of Rust 1.11, 
+`cdylib`. You should only use this option in a project. Cargo will always 
+compile packages (dependencies) based on the requirements of the project that
+includes them.
+
+You can read more about the different crate types in the 
+[Rust Reference Manual](https://doc.rust-lang.org/reference.html#linkage)
 
 # The `[replace]` Section